package org.springframework.remoting.jsonrpc.test.contact;

import java.util.List;

public interface ContactService {

  public List<Contact> findContacts(String lastName);

  public List<Contact> findContacts(SearchCriteria criteria);
  
  public List<Contact> allContacts();

  public Contact findContactById(Long id);

  public void saveContact(Contact contact);
}
